import {service} from "@/utils/http";

/* 查询所有的博客 */
export const findAllBlogInfo = () => {
  const url = `blogCenter/blogInfo/findAllBlogInfo`
  return service.get(url)
}

/* 查询指定数量的最近发布的博客 */
export const findRecentlyTopNumberBlogInfo = (number) => {
  const url = `blogCenter/blogInfo/findRecentlyTopNumberBlogInfo?number=` + number
  return service.get(url, number)
}


